package com.shop.Exception;

/**
 * 重复数据异常类
 * 
 * 当尝试插入已存在的数据时抛出此异常
 * 
 * @author Shop Management System
 * @version 1.0
 * @since 2024-01-01
 */
public class DuplicateDataException extends RuntimeException {
    
    public DuplicateDataException(String message) {
        super(message);
    }
    
    public DuplicateDataException(String message, Throwable cause) {
        super(message, cause);
    }
} 